<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>{{$person->id}}_{{$person->name}}</title>
</head>
<style>
    *{
        padding: 0;
        margin: 0;
    }
    .box {
        width: 600px;
        height: 380px;
    }
    .title {
        margin: 0 auto;
        padding: 8px;
        width: 90%;
        text-align: center;
        border-radius: 5px;
        background-color: #950909;
        color: white;
    }
    .info {
        margin: 0 auto;
        width: 90%;
        padding-top: 20px;
    }
    .photo img{
        width: 140px;
        min-height: 140px;
        border-radius: 5px;
    }
    .person, .photo, .qrcode {
        display: inline-block;
    }
    .person {
        position: absolute;
        padding-top: 20px;
    }
    .person span {
        display: block;
        padding-left: 20px;
        line-height: 28px;
    }
    .person span p {
        font-weight: 500;
        font-size: 17px;
        display: inline-block;
        float: left;
    }
    .person span .text{
        font-size: 17px;
        display: inline-block;
        width: 200px;
    }
    .qrcode {
        position: absolute;
        left: 445px;
        padding: 8px;
        border-radius: 5px;
        border: 1px #950909 solid;
        width: 100px;
        height: 100px;
    }
    .foot {
        padding-top: 5px;
        margin: 0 auto;
        width: 90%;
        height: 40px;
        text-align: center;
    }
    .line {
        display: inline-block;
        margin-bottom: 25px;
        height: 3px;
        background-color: #950909;
        width: 30%;
    }
    .foot img {
        width: 170px;
        margin: 0 15px;
    }
</style>
<body>
<div class="box">
    <h1 class="title">作业操作许可证</h1>
    <div class="info">
        <div class="photo">
            <img src="/storage/{{$person->photo}}">
        </div>
        <div class="person">
            <span><p>姓名：</p><p class="text">{{$person->name}}</p></span>
            <span><p>单位：</p><p class="text">西安中车长客轨道车辆有限公司</p></span>
            <span><p>工号：</p><p class="text">{{$person->work_no}}</p></span>
            <!--<span><p>工种：</p><p class="text" style="font-size:14px">{{$person->category_text}}</p></span>-->
        </div>
        <div class="qrcode">
            {{$qrcode}}
        </div>
    </div>
    <div class="foot">
        <div class="line"></div>
        <img src="{{asset('static/images/l2.jpg')}}">
        <div class="line"></div>
    </div>
</div>
</body>
</html>
